Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cdk:popper): popper shouldn't update if reference is display none #1653

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

sallerli1
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated or not needed
  • Docs and demo have been added/updated or not needed

What is the current behavior

当 reference 为dispaly:none 隐藏时,虽然位置不会更新,但箭头位置和placement还是会更新,导致隐藏场景下显示不正常

What is the new behavior?

在reference 为 display:none时,不再更新Placement以及arrow位置

Other information

隐藏时不更新是为了解决例如reference是hover才显示的场景

@idux-bot
Copy link

idux-bot bot commented Aug 14, 2023

This preview will be available after the AzureCI is passed.

@codecov
Copy link

codecov bot commented Aug 14, 2023

Codecov Report

Merging #1653 (b693dec) into main (db00adb) will not change coverage.
The diff coverage is n/a.

❗ Current head b693dec differs from pull request most recent head 62a96c3. Consider uploading reports for the commit 62a96c3 to get more accurate results

@@           Coverage Diff           @@
##             main    #1653   +/-   ##
=======================================
  Coverage   92.59%   92.59%           
=======================================
  Files         345      345           
  Lines       32285    32285           
  Branches     3685     3684    -1     
=======================================
  Hits        29895    29895           
  Misses       2390     2390           

@sallerli1 sallerli1 merged commit cf83513 into IDuxFE:main Aug 14, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant